package com.xhwl.logistics.entity.approval;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 审批流程表
 * </p>
 *
 * @author lin.yang
 * @since 2023-12-26
 */
@Data
@ApiModel(value="ApprovalProcess对象", description="审批流程表")
@TableName(value = "approval_process")
public class ApprovalProcess implements Serializable {

    @TableId(value = "PROCESS_ID",type=IdType.AUTO)
    private Integer processId;

    @ApiModelProperty(value = "流程类型")
    @TableField("PROCESS_TYPE")
    private String processType;

    @ApiModelProperty(value = "流程类型名称")
    @TableField("PROCESS_TYPE_NAME")
    private String processTypeName;

    @ApiModelProperty(value = "流程名称")
    @TableField("PROCESS_NAME")
    private String processName;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "创建人名称")
    @TableField("CREATED_NAME")
    private String createdName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField("CREATED_TIME")
    private Date createdTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "更新人名称")
    @TableField("UPDATED_NAME")
    private String updatedName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATED_TIME")
    private Date updatedTime;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("LOGIC_DEL")
    private String logicDel;


}
